export const queryApp = () => {
  return {
    content: [
      {
        id: '8a80cb816c0a5d4f016c0a5e0c020000',
        appName: 'Acp-Admin',
        secret: '2523342F2BD345EA9658452A289364AA',
        accessTokenValiditySeconds: 86400,
        refreshTokenValiditySeconds: 2592000,
        covert: false
      },
      {
        id: 'a0c343b8-1760-11e9-9bf7-d8c49792dd7b',
        appName: 'fsdafaf',
        secret: '19033315-30F8-4FDD-896A-F646A5A08847',
        accessTokenValiditySeconds: 123,
        refreshTokenValiditySeconds: 123213,
        covert: true
      }
    ],
    pageSize: 10,
    currPage: 0,
    totalElements: 10
  }
}
export const deleteApp = () => {
  return {
    message: '删除成功'
  }
}
export const updateApp = () => {
  return {
    id: 'a0c343b8-1760-11e9-9bf7-d8c49792dd7b',
    appName: 'fsdafaf',
    secret: '19033315-30F8-4FDD-896A-F646A5A08847',
    accessTokenValiditySeconds: 123,
    refreshTokenValiditySeconds: 123213,
    covert: true
  }
}
export const getAppList = () => {
  return [
    {
      id: '8a80cb816c0a5d4f016c0a5e0c020000',
      appName: 'Acp-Admin',
      secret: 'E0D3024D-9A22-41EE-AC0F-FC6B56E367AE',
      accessTokenValiditySeconds: 86400,
      refreshTokenValiditySeconds: 2592000,
      covert: false
    },
    {
      id: 'a0c343b8-1760-11e9-9bf7-d8c49792dd7b',
      appName: 'test',
      secret: '2DB1B4C6-F6C3-4A3B-9250-74D91AC8F648',
      accessTokenValiditySeconds: 84600,
      refreshTokenValiditySeconds: 2592000,
      covert: true
    }
  ]
}
